d3765c0faa607aaede3fc2f6a7fceceadce49aae,security/src/main/java/org/jboss/as/security/service/SimpleSecurityManager.java,SimpleSecurityManager,push,#String#String#String#Set#,209

Before Change



                // TODO - We need to ensure this can not be abused but at the same time don't really
                //        want to be filling the cache with unique UUIDs.
                Principal p = new SimplePrincipal(UUID.randomUUID().toString());
                String credential = UUID.randomUUID().toString();

                util.createSubjectInfo(p, credential, null);
            }

            // If we have a trusted identity no need for a re-auth.

After Change


                    credential = UUID.randomUUID().toString();
                }

                util.createSubjectInfo(p, credential, null);
            }

            // If we have a trusted identity no need for a re-auth.